
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">

    <title>Laravel</title>

      <script src="{{ asset('/js/jquery.min.js') }}" type="text/javascript"></script>
    <link href="{{ asset('/bootstrap/css/bootstrap.min.css') }}" rel="stylesheet">
	<link href="data:text/css;charset=utf-8," data-href="/css/bootstrap-theme.min.css" rel="stylesheet" id="bs-theme-stylesheet">


    <link href="{{ asset('/semantic/dist/semantic.min.css') }}" rel="stylesheet">
    {{-- <link href="{{ elixir('css/app.css') }}" rel="stylesheet"> --}}

    <style>
        body {
            font-family: 'Lato';
        }

        .fa-btn {
            margin-right: 6px;
        }
    </style>
    <script type="text/javascript">
    function captcha_change()
    {
        $('#change_captcha').attr('src','/captcha?'+Date.parse(new Date()));
    }
    </script>
</head>

   <style type="text/css">
    body {
      background-color: #DADADA;
    }
    body > .grid {
      height: 100%;
    }
    .image {
      margin-top: -100px;
    }
    .column {
      max-width: 450px;
    }
  </style>

<body>

<div class="ui middle aligned center aligned grid">
  <div class="column">
    <h2 class="ui teal image header">
      <div class="content">
        XX管理系统
      </div>
    </h2>
    <form class="ui large form" method="post" action="/up">
     <input type="hidden" name="_token" value="{{ csrf_token() }}">
      <div class="ui stacked segment">
        <div class="field">
          <div class="ui left icon input">
            <i class="user icon"></i>
            <input type="text" name="username" placeholder="请输入用户名">
          </div>
        </div>
        <div class="field">
          <div class="ui left icon input">
            <i class="lock icon"></i>
            <input type="password" name="password" placeholder="请输入密码">
          </div>
        </div>
        <div class="field">
         <div class="ui grid">
              <div class="ten wide column left icon input">
                      <div class="ui left icon input">
                        <i class="lock icon"></i>
                        <input type="captcha" name="captcha" placeholder="请输入密码">
                      </div>
              </div>

              <div class="six wide column">
                   <img src="/captcha?487370" alt="验证码" onclick="captcha_change();" id='change_captcha'>
              </div>
         </div>
        </div>
        <button class="ui fluid large teal submit button" type="submit">登陆</button>
      </div>

      <div class="ui error message"></div>

    </form>

    <div class="ui message">
      <a class="ui fluid large teal submit button">注册</a>
    </div>
  </div>
</div>
</body>
@include('vendor.showmessage')
</html>
